<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
        <title></title>
        <link href="<%=path %>/images/style.css" rel="stylesheet" type="text/css" />
        <script type='text/javascript' src='<%=path %>/dwr/interface/loginService.js'></script>
        <script type='text/javascript' src='<%=path %>/dwr/engine.js'></script>
        <script type='text/javascript' src='<%=path %>/dwr/util.js'></script>
        <script language="javascript">
           var i=0;
           function kechengAll()
           {
               if(i==0)
               {
                   document.getElementById("indicator").style.display="block";
                   loginService.kechengAll(callback);
                   i=1;
               }
               
           }
           function callback(data)
           {
               document.getElementById("indicator").style.display="none";
               DWRUtil.addOptions("kecheng_id",data,"id","name");
           }
           
           function check()
           {
               if(document.formAdd.kecheng_id.value==0)
               { 
                   alert("请选择课程");
                   return false;
               }
               return true;
           }
        </script>
        </head>
        <body>

<!--main start -->

<div id="main">
          <jsp:include flush="true" page="/qiantai/inc/incTop2.jsp"></jsp:include>
          
          <!--left panel start -->
          <div id="left">
    <jsp:include flush="true" page="/qiantai/inc/incLeft.jsp"></jsp:include>
  </div>
          <!--left panel end --> 
          <!--right panel start -->
          <div id="right"> 
    <!--rightBotMain start -->
    
    <div class="contactMain"> 
              
              <!--best start --> 
              <!--rightBot start --> 
              <!--rightBot end --> 
              <!--best start -->
              <div id="best1">
        <h2><span>在线测试选择课程 </span></h2>
        <form action="<%=path %>/timu?type=timuSuijicheshi"  name="formAdd" method="post">
                  <table align="left">
            <tr>
                      <td ><select name="kecheng_id" id="kecheng_id" onclick="kechengAll()">
                          <option value="0">请选择课程</option>
                        </select></td>
                      <td><img id="indicator" src="<%=path %>/images/loading.gif" style="display:none"/></td>
                    </tr>
            <tr>
                      <td >
                      <input type="radio" name="isdaan" value="1" checked="checked"/>
                显示答案
                &nbsp;&nbsp;
                <input type="radio" name="isdaan" value="0"/>
                不显示答案  
                      
                      
                      </td>
                      <td></td>
                    </tr>
            <tr>
                      <td ></td>
                      <td><input type="submit" value="确定"/></td>
                    </tr>
          </table>
                </form>
        <br class="spacer" />
      </div>
              <!--best end --> 
            </div>
    <!--rightBotMain end --> 
    <!--last panel start --> 
    <!--last panel end --> 
    <br class="spacer" />
  </div>
          
          <!--right panel end --> 
          <br class="spacer" />
        </div>
<!--main end --> 
<!--footerMain start -->

<jsp:include flush="true" page="/qiantai/inc/incFoot.jsp"></jsp:include>

<!--footerMain end -->
</body>
</html>
